package com.platform.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.ApiOrderRefundPictureMapper;
import com.platform.entity.OrderRefundPictureVo;

/**
 * Service实现类
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-12-16 10:21:07
 */
@Service
public class ApiOrderRefundPictureService {
    @Autowired
    private ApiOrderRefundPictureMapper orderRefundPictureDao;


    public OrderRefundPictureVo queryObject(Integer id) {
        return orderRefundPictureDao.queryObject(id);
    }


    public List<OrderRefundPictureVo> queryList(Map<String, Object> map) {
        return orderRefundPictureDao.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return orderRefundPictureDao.queryTotal(map);
    }


    public int save(OrderRefundPictureVo orderRefundPicture) {
        return orderRefundPictureDao.save(orderRefundPicture);
    }


    public int update(OrderRefundPictureVo orderRefundPicture) {
        return orderRefundPictureDao.update(orderRefundPicture);
    }


    public int delete(Integer id) {
        return orderRefundPictureDao.delete(id);
    }


    public int deleteBatch(Integer[] ids) {
        return orderRefundPictureDao.deleteBatch(ids);
    }
}
